<template>
    <div class="box">
        <header class="header">
            <van-nav-bar
                title="嗨购注册"
                left-arrow
                @click-left="$router.back()"
            >
                嗨购注册
            </van-nav-bar>
        </header>

        <div class="content">
            <router-view></router-view>
        </div>
    </div>
</template>

<script>
import Vue from 'vue'
import { NavBar } from 'vant'

Vue.use(NavBar)

export default {

}
</script>

<style lang="stylus" scoped>
.container .box .content
    padding 30px 15px
    background-color #ffffff
</style>